import { ref } from 'vue'


const paginationParams = ref({
  total: 12,
  pageNum: 1,
  pageSize: 10,
})


const orderSelect = [
  {
    label: '标题',
    model: 'title',
    placeholder: '请输入',
    type: 'input'
  },
  {
    label: '作者',
    model: 'author',
    placeholder: '请输入',
    type: 'input'
  },
  { 
    label: '分类',
    model: 'type',
    placeholder: '请选择',
    dict: 'article_ma_type',
    type: 'select',
    selectData: []
  },
  { 
    label: '状态',
    model: 'status',
    placeholder: '请选择',
    dict: 'article_ma_status',
    type: 'select',
    selectData: []
  },
  {
    label: '发表时间',
    model: 'returnNumber',
    endModel: 'endModel',
    placeholder: '请输入',
    timeType: 'datetimerange', //datetimerange(带时分秒)
    setTime: 'setTime',
    type: 'beginTime',
    span: 8
  },
]
export default { paginationParams, orderSelect }

